﻿using CRM.Models;
using System.Collections.Generic;

namespace CRM.ViewModels.User
{
    public class AuthItemData
    {
        public int id;
        public string lable;
        public string Module;
        public long PermissionFlag;
        public AuthItemData(Menu menu)
        {
            id = menu.Id;
            lable = menu.Name;
            Module = menu.Module;
            PermissionFlag = menu.PermissionFlag;
        }
        public IEnumerable<AuthItemData> children;
    }
}
